package com.frain.springcloud.hystrix.service;

import org.springframework.stereotype.Component;

@Component
public class HystrixProviderFallback implements ProviderFeignService {

    @Override
    public String timeThreeFinish() {

        System.out.println("timeThreeFinish  降级了");
        return "timeThreeFinish  3miao";
    }

    @Override
    public String randomException() {

        System.out.println("randomException 降级了");
        return "randomException";
    }

    @Override
    public String getDemo() {

        System.out.println("getDemo 降级了");
        return "getDemo";
    }

}
